! go list .
stderr '^go: cannot load module y.go.mod listed in go\.work file: open .+go\.mod:'

-- go.work --
use ./y
-- x/go.mod --
module x

go 1.19
-- x/m.go --
package m
